package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2018-03-12 17:40
 */
@Builder
@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OneFund extends BaseDomain {
    private Long ofOneFundId;

    private Long ofFundAssetsId;

    private String ofFundCode;

    private String ofFundName;

    private String ofFundType;

    private String ofFundTypeApp;

    private BigDecimal ofFundCurrentShare;

    private BigDecimal ofFundEnableShare;

    private BigDecimal ofFundWorthValue;

    private BigDecimal ofFundTodayIncome;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date ofNetValueDate;

    private BigDecimal ofNetValue;

    private BigDecimal ofLastdayNetValue;

    private BigDecimal ofDailyProfit;

    private BigDecimal ofTodayIncomeRate;

    private Boolean ofIsCurrency;

    private String ofAssetType;

    private String ofCapitalMode;

    private BigDecimal ofAccumIncome;

    private BigDecimal ofUnpaidIncome;

    private BigDecimal ofShareIncome;

    private BigDecimal ofShareIncomeRate;

    private String ofTradeAccount;

    private String ofDividendsWord;

    private BigDecimal ofFundCost;

    private Boolean ofAutoBuy;

    private String ofBankNo;

    private String ofBankName;

    private String ofBankCode;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date ofEffectTime;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date ofCreateDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date ofUpdateDate;

    private static final long serialVersionUID = 1L;
}